import axios from 'axios'
import config from './config'
//传传图片
function upData(data) {
    return axios({
        method: 'post',
        baseURL: config.host,
        url: '/upload',
        headers: { "Content-Type": "multipart/form-data" },
        data
    })
}
export {
    upData
}